<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/BSP/dev_bod.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_4ca18d753a70f6eada20fde478bd3fc8.html">BSP</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">dev_bod.h</div></div>
</div><!--header-->
<div class="contents">
<a href="dev__bod_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#ifndef __DEV_BOD_H__</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#define __DEV_BOD_H__</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#include &quot;SWM341.h&quot;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810">   28</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810aaf1e474298b85c65edb7e5ac45b2c657">   29</a></span>    <a class="code hl_enumvalue" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810aaf1e474298b85c65edb7e5ac45b2c657">INT_1900_mv</a> = 0,</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810a3cfaa11079b6f739323ab826097f0ff1">   30</a></span>    <a class="code hl_enumvalue" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810a3cfaa11079b6f739323ab826097f0ff1">INT_2100_mv</a>,</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810aefd4a9ac5353ff0a211b65739916fe74">   31</a></span>    <a class="code hl_enumvalue" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810aefd4a9ac5353ff0a211b65739916fe74">INT_2300_mv</a>,</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810a36c01036ede97eb0d7942ae520b8ed0e">   32</a></span>    <a class="code hl_enumvalue" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810a36c01036ede97eb0d7942ae520b8ed0e">INT_2500_mv</a>,</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>    <a class="code hl_enumvalue" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810a1aa0d2447e507de873e5c7d19782058d">INT_2700_mv</a></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810a1aa0d2447e507de873e5c7d19782058d">   34</a></span>}<a class="code hl_enumeration" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810">BOD_IntV_t</a>;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ad">   37</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773adaf53943f6d19a0fa5c7622c36bc80a34b">   38</a></span>    <a class="code hl_enumvalue" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773adaf53943f6d19a0fa5c7622c36bc80a34b">RST_1700_mv</a> = 0,</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ada4bb6f89d0ac77fbbf7b01f1b9ed922ef">   39</a></span>    <a class="code hl_enumvalue" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ada4bb6f89d0ac77fbbf7b01f1b9ed922ef">RST_1900_mv</a>,</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773adab0053037f065c703d76e755aeafe8d2c">   40</a></span>    <a class="code hl_enumvalue" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773adab0053037f065c703d76e755aeafe8d2c">RST_2100_mv</a>,</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>    <a class="code hl_enumvalue" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ada5885e56aba910aa4a64b56ce818399ae">RST_2700_mv</a></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ada5885e56aba910aa4a64b56ce818399ae">   42</a></span>}<a class="code hl_enumeration" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ad">BOD_RstV_t</a>;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="keywordtype">void</span> <a class="code hl_function" href="dev__bod_8h.html#a99efe992c47bbdf10b89a9a7e327e200">BOD_Init</a>(<a class="code hl_enumeration" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810">BOD_IntV_t</a> int_v, <a class="code hl_enumeration" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ad">BOD_RstV_t</a> rst_v, uint8_t int_en);</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span><span class="preprocessor">#endif </span><span class="comment">//__DEV_BOD_H__</span></div>
<div class="ttc" id="adev__bod_8h_html_a2431943c0d4f3e45d7afe0d9acc6e810"><div class="ttname"><a href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810">BOD_IntV_t</a></div><div class="ttdeci">BOD_IntV_t</div><div class="ttdoc">BOD中断触发电平，0 1.9v 1 2.1v 2 2.3v 3 2.5v 4 2.7v</div><div class="ttdef"><b>Definition:</b> <a href="dev__bod_8h_source.html#l00028">dev_bod.h:28</a></div></div>
<div class="ttc" id="adev__bod_8h_html_a2431943c0d4f3e45d7afe0d9acc6e810a1aa0d2447e507de873e5c7d19782058d"><div class="ttname"><a href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810a1aa0d2447e507de873e5c7d19782058d">INT_2700_mv</a></div><div class="ttdeci">@ INT_2700_mv</div><div class="ttdef"><b>Definition:</b> <a href="dev__bod_8h_source.html#l00034">dev_bod.h:33</a></div></div>
<div class="ttc" id="adev__bod_8h_html_a2431943c0d4f3e45d7afe0d9acc6e810a36c01036ede97eb0d7942ae520b8ed0e"><div class="ttname"><a href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810a36c01036ede97eb0d7942ae520b8ed0e">INT_2500_mv</a></div><div class="ttdeci">@ INT_2500_mv</div><div class="ttdef"><b>Definition:</b> <a href="dev__bod_8h_source.html#l00032">dev_bod.h:32</a></div></div>
<div class="ttc" id="adev__bod_8h_html_a2431943c0d4f3e45d7afe0d9acc6e810a3cfaa11079b6f739323ab826097f0ff1"><div class="ttname"><a href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810a3cfaa11079b6f739323ab826097f0ff1">INT_2100_mv</a></div><div class="ttdeci">@ INT_2100_mv</div><div class="ttdef"><b>Definition:</b> <a href="dev__bod_8h_source.html#l00030">dev_bod.h:30</a></div></div>
<div class="ttc" id="adev__bod_8h_html_a2431943c0d4f3e45d7afe0d9acc6e810aaf1e474298b85c65edb7e5ac45b2c657"><div class="ttname"><a href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810aaf1e474298b85c65edb7e5ac45b2c657">INT_1900_mv</a></div><div class="ttdeci">@ INT_1900_mv</div><div class="ttdef"><b>Definition:</b> <a href="dev__bod_8h_source.html#l00029">dev_bod.h:29</a></div></div>
<div class="ttc" id="adev__bod_8h_html_a2431943c0d4f3e45d7afe0d9acc6e810aefd4a9ac5353ff0a211b65739916fe74"><div class="ttname"><a href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810aefd4a9ac5353ff0a211b65739916fe74">INT_2300_mv</a></div><div class="ttdeci">@ INT_2300_mv</div><div class="ttdef"><b>Definition:</b> <a href="dev__bod_8h_source.html#l00031">dev_bod.h:31</a></div></div>
<div class="ttc" id="adev__bod_8h_html_a6a1783b815633506a29d2b78577773ad"><div class="ttname"><a href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ad">BOD_RstV_t</a></div><div class="ttdeci">BOD_RstV_t</div><div class="ttdoc">BOD复位电平，0 1.7v 1 1.9v 2 2.1v 3 2.7v</div><div class="ttdef"><b>Definition:</b> <a href="dev__bod_8h_source.html#l00037">dev_bod.h:37</a></div></div>
<div class="ttc" id="adev__bod_8h_html_a6a1783b815633506a29d2b78577773ada4bb6f89d0ac77fbbf7b01f1b9ed922ef"><div class="ttname"><a href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ada4bb6f89d0ac77fbbf7b01f1b9ed922ef">RST_1900_mv</a></div><div class="ttdeci">@ RST_1900_mv</div><div class="ttdef"><b>Definition:</b> <a href="dev__bod_8h_source.html#l00039">dev_bod.h:39</a></div></div>
<div class="ttc" id="adev__bod_8h_html_a6a1783b815633506a29d2b78577773ada5885e56aba910aa4a64b56ce818399ae"><div class="ttname"><a href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ada5885e56aba910aa4a64b56ce818399ae">RST_2700_mv</a></div><div class="ttdeci">@ RST_2700_mv</div><div class="ttdef"><b>Definition:</b> <a href="dev__bod_8h_source.html#l00042">dev_bod.h:41</a></div></div>
<div class="ttc" id="adev__bod_8h_html_a6a1783b815633506a29d2b78577773adab0053037f065c703d76e755aeafe8d2c"><div class="ttname"><a href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773adab0053037f065c703d76e755aeafe8d2c">RST_2100_mv</a></div><div class="ttdeci">@ RST_2100_mv</div><div class="ttdef"><b>Definition:</b> <a href="dev__bod_8h_source.html#l00040">dev_bod.h:40</a></div></div>
<div class="ttc" id="adev__bod_8h_html_a6a1783b815633506a29d2b78577773adaf53943f6d19a0fa5c7622c36bc80a34b"><div class="ttname"><a href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773adaf53943f6d19a0fa5c7622c36bc80a34b">RST_1700_mv</a></div><div class="ttdeci">@ RST_1700_mv</div><div class="ttdef"><b>Definition:</b> <a href="dev__bod_8h_source.html#l00038">dev_bod.h:38</a></div></div>
<div class="ttc" id="adev__bod_8h_html_a99efe992c47bbdf10b89a9a7e327e200"><div class="ttname"><a href="dev__bod_8h.html#a99efe992c47bbdf10b89a9a7e327e200">BOD_Init</a></div><div class="ttdeci">void BOD_Init(BOD_IntV_t int_v, BOD_RstV_t rst_v, uint8_t int_en)</div><div class="ttdoc">欠压检测</div><div class="ttdef"><b>Definition:</b> <a href="dev__bod_8c_source.html#l00032">dev_bod.c:32</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
